<div class="action-dialog-model-fixed-body">
	<div class="detailsBox ">
		<div class="openBox">
		  		<h3><i class="jtIco"></i>贷款要素</h3>
		        <div class="detaiTab">
		            <table width="100%" border="0" cellspacing="0" cellpadding="0">
		            	<tbody>
		            	<#if loanapply.continueLoanParenNo!="">
							<tr>
								<td width="15%" align="right" class="bg">上一笔贷款单号：</td>
								<td width="35%">${loanapply.continueLoanParenNo}</td>
								<td width="15%" align="right" class="bg">是否为续贷：</td>
								<td>是</td>
							</tr>
						</#if>
		                	<tr>
		                    	<td align="right" class="bg" width="18%">贷款单号:</td>
		                      	<td width="35%">${loanapply.billCode}</td>
		                        <td align="right" class="bg" width="18%">客户名称:</td>
		                        <td>${loanapply.customeRname}</td>
		                    </tr>
		                    <tr>	
		                    	<td align="right" class="bg"><span class=" fs14">申请金额(元):</span></td>
		                        <td><span class=" fs14"><@numberFormat value="${loanapply.loanaMount}" /></span></td>
		                        <td align="right" class="bg"><span class=" fs14">申请期限:	</span></td>
		                        <td><span class=" fs14">${loanapply.loanTerm}个月</span></td>
		                    </tr>
		                     <tr>	
		                    	<td align="right" class="bg"><span class=" fs14">还款方式:	</span></td>
		                        <td><span class=" fs14"><@select dataSouceType="OTOREPAYMENTWAY" value="${loanapply.repayMentway}" renderonly="true"/></span></td>
		                        <td align="right" class="bg"><span class=" fs14">利率:</span></td>
		                        <td><span class=" fs14"><#if (loanapply.loanrate)??>${(loanapply.loanrate*100)?string("0.000")}%</#if></span></td>
		                    </tr>
		                    <tr>
		                    	<td align="right" class="bg">信贷经理姓名:</td>
		                      	<td>${loanapply.operatorName}</td>
		                        <td align="right" class="bg">经办平台:</td>
		                        <td>${loanapply.ltdCode}-${loanapply.ltdName}</td>
		                    </tr>
		                    <tr>
		                    	<td align="right" class="bg">送审银行:</td>
		                      	<td><@select dataSouceType="BANKTYPEO2O" value="${loanapply.bankLoanName}" renderonly="true"/></td>
		                        <td align="right" class="bg">产品类型:</td>
		                        <td><@select dataSouceType="OTO_LOAN_TYPE_SB" value="${loanapply.loanType}" renderonly="true"/></td>
		                    </tr>
		                    <tr>
		                    	<td align="right" class="bg">贷款申请日期:</td>
		                      	<td><span class=" fs14"><#if (loanapply.createDate)??>${loanapply.createDate?string('yyyy-MM-dd')}</#if></span></td>
		                        <td align="right" class="bg">担保方式:</td>
		                        <td><@select dataSouceType="OTOGUARANTEEWAY" value="${loanapply.guarAnteeWay}" renderonly="true"/></td>
		                    </tr>
		                    <tr>
								<td align="right" class="bg">推荐人姓名:</td>
		                      	<td>${loanapply.referrerName}</td>
		                      	<td align="right" class="bg">征信银行:</td>
		                        <td><@select dataSouceType="BANKTYPEO2O" value="${loanapply.bankType}" renderonly="true"/></td>
		                      	
							</tr>
		                    <tr>
								<td align="right" class="bg">备注</td>
								<td >${loanapply.remark}</td>
							</tr>
		                </tbody>
		            </table>  
		  		 </div>
         </div>
		<div class="openBox">
			<h3><i class="jtIco"></i>还款信息</h3>
		  	<div class="detaiTab">
		  		<input name="paymentsId" type="hidden" value="${entity.paymentsId}">
		  		<input name="billCode" type="hidden" value="${entity.billCode}">
		  		<input name="periods" type="hidden" value="${entity.periods}">
	  			<table border="0" cellpadding="0" cellspacing="0" width="100%">
	  				<tr>
	  	 				<td class="bg" align="right" width="15%">借款人姓名:</td>
	     				<td width="30%">
							${entity.userName}
	    				</td>
	    				<td class="bg" align="right" width="15%">还款期数:</td>
	     				<td width="30%">
							${entity.periods}
	    				</td>
	    			</tr>
	  				<tr>
	    				<td class="bg" align="right" width="15%">应还本金:</td>
	     				<td width="30%">
							<@numberFormat value="${entity.payPrincipal}"/>
	    				</td>
	    				<td class="bg" align="right" width="15%">应还利息:</td>
	     				<td width="30%">
							<@numberFormat value="${entity.payInterest}"/>
	    				</td>
	    			</tr>
	  				<tr>
	  	 				<td class="bg" align="right" width="15%">未还本金:</td>
	     				<td width="30%">
							<@numberFormat value="${entity.weiPayPrincipal}"/>
	    				</td>
	    				<td class="bg" align="right" width="15%">未还利息:</td>
	     				<td width="30%">
							<@numberFormat value="${entity.weiPayInterest}"/>
	    				</td>
	    			</tr>
	  				<tr>
	  					<td class="bg" align="right" width="15%">本次还款本金:</td>
	     				<td width="30%">
							<@numberFormat value="${o2oRepaymentEntity.repayment_principal}"/>
	    				</td>
	  	 				<td class="bg" align="right" width="15%">本次还款利息:</td>
	     				<td width="30%">
							<@numberFormat value="${o2oRepaymentEntity.repayment_interest}"/>
	    				</td>
	    				
	    			</tr>
	    			<tr>
	    				<td class="bg" align="right" width="15%">本期罚息:</td>
	     				<td width="30%">
							<@numberFormat value="${o2oRepaymentEntity.repayment_penalty}"/>
	    				</td>
	    				<td class="bg" align="right" width="15%">实际还款日期:</td>
	     				<td width="30%">
							<@date name="actualRepaymentDate" value="${o2oRepaymentEntity.actual_repayment_date}" renderonly="true"/>
	    				</td>
	    			</tr>
	    		</table>
	    	</div>
	    </div>
	    <div class="openBox mt20">
		    <h3 class="mt20"><i class="jtIco"></i>还款凭证
		    </h3>
	       	<div class="dataBable">
	            <div id="o2o_file" class="action-ajax-load" data-url="/o2oloanapply/byCodeDatalist?billCode=${entity.billCode}&code=REPAYMENTFILE"></div>
			 </div>    
		</div>	
	    <div class="action-ajax-load" data-url="<@url value='${approvalUrl}' />"></div>
	</div>
</div>